// acetone, 2024
// I hate copyright of any kind. This is a public domain.
// Original source: https://notabug.org/acetone/samty

#pragma once

#include <stddef.h>
#include <stdint.h>

namespace Samty {

struct ByteOrder
{
    static void reverse(uint8_t* data, size_t size);
    static uint32_t crc32_16bytes(const void* data, size_t length, uint32_t previousCrc32 = 0);
};

}
